package com.storage.mongo;

import java.util.ArrayList;
import java.util.List;

import com.google.code.morphia.annotations.Embedded;

@Embedded
public class EComments {
	
	private List<String> createdBy= new ArrayList<String>();
	private List<String> createdText= new ArrayList<String>();
	private List<String> createdDate= new ArrayList<String>();
	
	public EComments()
	{
		
	}
	public EComments(String createdBy, String createdText,String createdDate)
	{
		setCreatedBy(createdBy);
		setCreatedText(createdText);
		setCreatedDate(createdDate);
	}
	public List<String> getCreatedBy() {
		return createdBy;
	}
	public void setCreatedBy(String createdBy) {
		this.createdBy.add(createdBy);
	}
	public List<String> getCreatedText() {
		return createdText;
	}
	public void setCreatedText(String createdText) {
		this.createdText.add(createdText);
	}
	public List<String> getCreatedDate() {
		return createdDate;
	}
	public void setCreatedDate(String createdDate) {
		this.createdDate.add(createdDate);
	}


}
